<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UFT-8">
    <title>网络拓扑结构表</title>
</head>

<style type="text/css">

    .app-table {
        text-align: center;
        width: 95%;
    }

    .app-title {
        text-align: center;
    }

    .app-app-title {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .app-item{
        margin-top: 20px;
        margin-bottom: 15px;
    }

    table {
        border-collapse: collapse;
        margin: 0 auto;
        text-align: center;
    }

    tr , td {
        padding: 8 8;
    }


</style>
<body>
<#list applyInfoList as apply>
<div class="app-container">
    <div class="app-app-title">${apply.title}</div>
    <div class="app-base">
        <table class="app-table" border="1">
            <tr>
                <td class="app-title" width="15%">姓名:</td>
                <td width="35%">${apply.name}</td>
                <td class="app-title" width="15%">工号:</td>
                <td width="35%">${apply.code}</td>
            </tr>
            <tr>
                <td class="app-title" width="15%">部门:</td>
                <td colspan="3">${apply.dept}</td>
            </tr>

            <tr>
                <td class="app-title" width="15%">标准工时:</td>
                <td width="35%">${apply.time1}</td>
                <td class="app-title" width="15%">填报工时:</td>
                <td width="35%">${apply.time2}</td>
            </tr>

            <tr>
                <td class="app-title" width="15%">开始时间:</td>
                <td width="35%">${apply.startTime}</td>
                <td class="app-title" width="15%">结束时间:</td>
                <td width="35%">${apply.endTime}</td>
            </tr>

            <tr>
                <td class="app-title" width="15%">申请时间:</td>
                <td colspan="3">${apply.applyTime}</td>
            </tr>
        </table>
    </div>
    <div class="app-item">
        <table class="app-table" border="1">
            <tr>
                <td>序号</td>
                <td>日期</td>
                <td>工时代码</td>
                <td>合同编号</td>
                <td>合同名称</td>
                <td>项目任务</td>
                <td>工作项</td>
            </tr>

            <#list apply.infoItems as infoItem>
            <tr>
                <td>${infoItem_index + 1}</td>
                <td>${infoItem.iTime}</td>
                <td>${infoItem.iCode}</td>
                <td>${infoItem.cNo}</td>
                <td>${infoItem.cName}</td>
                <td>${infoItem.iName}</td>
                <td>${infoItem.iContext}</td>
            </tr>
            </#list>

        </table>

    </div>
</div>
</#list>
</body>
</html>